﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands.AppoinCommand
{
    /// <summary>
    /// 预约列表命令
    /// </summary>
    public class AppointShowCommand: IRequest<ApiResult<ApiPaging<AppointDTO>>>
    {
        /// <summary>
        /// 页数
        /// </summary>
        public int pageIndex {  get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime? AppointmentTime { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name {  get; set; }

        /// <summary>
        /// 就诊状态
        /// </summary>
        public bool? MedicalState { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public int? DepartmentId { get; set; }
    }
}
